/*
 * @Author: 陈俊升 761723995@qq.com
 * @Date: 2024-02-23 09:14:29
 * @LastEditors: 陈俊升 761723995@qq.com
 * @LastEditTime: 2024-02-23 11:10:01
 * @FilePath: /hr_new_vue3/src/router/routes/management/administration/index.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
/* 储存行政模块里面的相关子路由（不显示在侧边导航栏的路由） */

const administrationSubRoutes: any = [
  {
    path: 'enterpriseAnnouncementAdd',
    name: 'EnterpriseAnnouncementAdd',
    component: () =>
      import(
        '@/views/Management/Administration/EnterpriseAnnouncement/AddAnnouncement/index.vue'
      ),
    meta: {
      locale: '新增公告',
      requiresAuth: true,
      roles: ['*'],
      hideInMenu: true
    }
  },
  {
    path: 'enterpriseAnnouncementDetail/:id',
    name: 'EnterpriseAnnouncementDetail',
    component: () =>
      import(
        '@/views/Management/Administration/EnterpriseAnnouncement/Detail/index.vue'
      ),
    meta: {
      locale: '公告详情',
      requiresAuth: true,
      roles: ['*'],
      hideInMenu: true
    }
  },
  {
    path: 'enterpriseAnnouncementRead/:id',
    name: 'EnterpriseAnnouncementRead',
    component: () =>
      import(
        '@/views/Management/Administration/EnterpriseAnnouncement/Read/index.vue'
      ),
    meta: {
      locale: '查阅情况',
      requiresAuth: true,
      roles: ['*'],
      hideInMenu: true
    }
  }
];

export default administrationSubRoutes;
